package han.entity;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;

/**
 * @fileName: FinanceProjectBaseInfoEntity
 * @author: Han
 * @date: 2018/6/26 14:33
 * @dscription: TODO
 */
public class FinanceProjectBaseInfoEntity {
    private String krId;
    private String fullName;
    private String name;
    private String website;
    private String industryTag;
    private String intro;
    private String productService;
    private String userMarket;
    private Timestamp updateTime;
    private String email;
    private String phone;
    private String addr;
    private String area;

    public FinanceProjectBaseInfoEntity(String krId, String fullName, String name, String website, String industryTag,
                                        String intro, String productService, String userMarket, Timestamp updateTime, String email, String phone, String addr, String area){
        this.krId = krId;
        this.fullName = fullName;
        this.name = name;
        this.website = website;
        this.industryTag = industryTag;
        this.intro = intro;
        this.productService = productService;
        this.userMarket = userMarket;
        this.updateTime = updateTime;
        this.email = email;
        this.phone = phone;
        this.addr = addr;
        this.area = area;
    }

    public String getKrId() {
        return krId;
    }

    public void setKrId(String krId) {
        this.krId = krId;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getIndustryTag() {
        return industryTag;
    }

    public void setIndustryTag(String industryTag) {
        this.industryTag = industryTag;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getProductService() {
        return productService;
    }

    public void setProductService(String productService) {
        this.productService = productService;
    }

    public String getUserMarket() {
        return userMarket;
    }

    public void setUserMarket(String userMarket) {
        this.userMarket = userMarket;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public String getFormatTime(){

        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return df.format(updateTime);
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "FinanceProjectBaseInfoEntity{" + "krId='" + krId + '\'' +
                ", fullName='" + fullName + '\'' +
                ", name='" + name + '\'' +
                ", website='" + website + '\'' +
                ", industryTag='" + industryTag + '\'' +
                ", intro='" + intro + '\'' +
                ", productService='" + productService + '\'' +
                ", userMarket='" + userMarket + '\'' +
                ", updateTime=" + updateTime +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", addr='" + addr + '\'' +
                ", area='" + area + '\'' +
                '}';
    }
}
